.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  
  :global {
    .header-left {

      .site-title {
        font-size: 16px;
        color: var(--primary-color);
        font-weight: 900;
        text-transform: uppercase;
      }
    }

    .header-right {
      display: flex;
      align-items: center;

      .site-menu-container {
        .site-menu-ul {
          margin: 0;
          
          .site-menu {
            display: inline-block;
            padding: 0 20px;
          }
        }
      }

      .mode-checker {
        margin-left: 20px;
      }
    }

    .theme-changer-input {
      display: none;
    }

    .mode-container {
      width: 24px;
      height: 24px;
    }
  }
}

:global {
  body.dark {
    .icon-moon {
      display: none;
    }
  }

  body.light {
    .icon-sun {
      display: none;
    }
  }

  .icon-sun {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 24px;
    height: 24px;
    background:
      linear-gradient(to bottom,
        currentColor 4px, transparent 0) no-repeat 5px ~"-6px/2px"6px,
      linear-gradient(to bottom,
        currentColor 4px, transparent 0) no-repeat 5px ~"14px/2px"6px,
      linear-gradient(to bottom,
        currentColor 4px, transparent 0) no-repeat -8px ~"5px/6px"2px,
      linear-gradient(to bottom,
        currentColor 4px, transparent 0) no-repeat 14px ~"5px/6px"2px;
    border-radius: 100px;
    box-shadow: inset 0 0 0 2px;
    border: 6px solid transparent;
  }

  .icon-sun::after,
  .icon-sun::before {
    content: '';
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 24px;
    height: 2px;
    border-right: 4px solid;
    border-left: 4px solid;
    left: -6px;
    top: 5px;
  }

  .icon-sun::before {
    transform: rotate(-45deg);
  }

  .icon-sun::after {
    transform: rotate(45deg);
  }

  .icon-moon,
  .icon-moon::after {
    display: block;
    box-sizing: border-box;
    border-radius: 50%;
  }

  .icon-moon {
    overflow: hidden;
    position: relative;
    transform: rotate(-135deg) scale(1, 1);
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-bottom-color: transparent;
  }

  .icon-moon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 18px;
    border: 2px solid transparent;
    box-shadow: 0 0 0 2px;
    top: 8px;
    left: 2px;
  }
}

@media screen and (max-width: 600px) {
  .header {
    :global {
      .header-right {
        .site-menu-container {
          .site-menu-ul {
            .site-menu {
              padding: 0 10px;
            }
          }
        }
      }
    }
  }
}